%author: Simone Notargiacomo, Lorenzo Tavernese, Ibrahim Khalili
%date: 19 Giugno 2008
\documentclass[a4paper,italian,12pt]{report}
\usepackage[hyperindex]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[italian,english]{babel}
\usepackage[T1]{fontenc}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{subfigure}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{float}
\usepackage{listings}
\usepackage[usenames,dvips]{color}
\usepackage{multicol}
\usepackage{framed}

\linespread{1.3}
\makeindex
\lstset{language=C}
\lstset{frameround=fttt}
%\lstset{frameround=single}
\lstset{basicstyle=\scriptsize}
\lstset{stringstyle=\ttfamily}
\lstset{showstringspaces=false}
%\lstset{backgroundcolor=\color{SkyBlue}}
\lstset{morecomment=[s]{/*}{*/}}
\lstset{morecomment=[n]{/*}{*/}}
\lstset{morekeywords={u_int1,u_int2,u_int4,u_int8,GList,GQueue,GHashTable,servent_data,init_data,chatclient,chat,route_entry,pthread_t,time_t,http_packet,http_header_response,http_header_request,tortella_packet,tortella_header,bye_desc,message_desc,search_desc,searchhits_desc,join_desc,leave_desc,list_desc,listhits_desc,ping_desc,pthread_rwlock_t,pthread_mutex_t,GtkWidget,gpointer,gchar,gboolean,gint,GtkTreeIter,GtkTree}}
\lstset{aboveskip=\bigskipamount}
\lstset{belowskip=\bigskipamount}
\lstset{showlines=false}
\lstset{breaklines=true}
\definecolor{light-gray}{gray}{0.95}
\lstset{backgroundcolor=\color{light-gray}}
\lstset{frame=trBL}

\begin{document}
\include{title}
\pagebreak
\pagestyle{fancy}
\include{layout}
\setcounter{page}{1}
\tableofcontents

\include{cap/abstract}
\include{cap/introduzione}
\include{cap/gnutellaVsTortella}
\include{cap/tortellaApplication}
\include{cap/architettura}
\include{cap/ambienteDiSviluppo}
\include{cap/installazioneEdEsecuzione}
\include{cap/conclusioni}
%\include{cap/appendice}

%\lstlistoflistings
%\listoftables
\listoffigures
\printindex

\end{document}